package com.sgb.kjwl.model.entity.self;

import com.google.gson.annotations.SerializedName;

public class GoodsListEntity3 {
    @SerializedName("id")
    private String id;
    @SerializedName("imgUrl")
    private String imgUrl;
    @SerializedName("brandName")
    private String brandName;
    @SerializedName("unit")
    private String unit;
    @SerializedName("price")
    private String price;
    @SerializedName("priceScope")
    private String priceScope;
    @SerializedName("cartTitle")
    private String cartTitle;
    @SerializedName("updateTime")
    private String updateTime;
    @SerializedName("storage")
    private String storage;
    @SerializedName("status")
    private String status;
    @SerializedName("cid1")
    private String cid1;  //判断=7的时候为商砼
    @SerializedName("promote")
    private boolean promote;

    public boolean isPromote() {
        return promote;
    }

    public void setPromote(boolean promote) {
        this.promote = promote;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getPrice() {
        if (price == null || "".equals(price))
            return "0.00";
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPriceScope() {
        return priceScope;
    }

    public void setPriceScope(String priceScope) {
        this.priceScope = priceScope;
    }

    public String getCartTitle() {
        return cartTitle;
    }

    public void setCartTitle(String cartTitle) {
        this.cartTitle = cartTitle;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCid1() {
        return cid1;
    }

    public void setCid1(String cid1) {
        this.cid1 = cid1;
    }
}
